home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
internet
/
irc_i_dodatki
/
kuang
/
kuangeleven28.lha
/
Rexx
/
Pub
/
remotesys.AMIRX
< prev
Wrap
Text File
|
1997-02-06
|
1KB
|
54 lines
/* Kuang 11 Public Channel Plugin - Remote Sysop commands
Works only in autochannels.
Requires s flag
To install add following commands
ADDF
ADDH
SETF
SAVE
*/
options results
parse arg nick channel pxf pxt imop autochan text
if ~autochan|pos('S',pxf)=0 then exit
"GETMYNICK"
mynick=result
parse var text command target args
upper command
if target='-' then target=''
select
When command='ADDF' then do
Select
when target='' then notice(nick,'Specify user')
when args='' then notice(nick,'Specify flags')
otherwise
setclip('st_rsys',nick)
amrx('kuang11c ADDF' target args)
end
end
When command='ADDH' then do
if target~='' then do
setclip('st_rsys',nick)
amrx('kuang11c ADDH' target args)
end
else notice(nick,'Specify user')
end
When command='SETF' then do
Select
when target='' then notice(nick,'Specify user')
when args='' then notice(nick,'Specify flags')
otherwise
setclip('st_rsys',nick)
amrx('kuang11c SETF' target args)
end
end
When command='SAVE' then do
setclip('st_rsys',nick)
amrx('kuang11c SAVEF')
end
otherwise
end
exit
amrx:;'SAY /RX' arg(1);return 0
notice:;'RAW NOTICE' arg(1) ':'arg(2);return 0